package com.zut.subject.domain.handler.subject;

import com.zut.subject.common.enums.SubjectTypeEnum;
import com.zut.subject.domain.entity.SubjectInfoBo;
import com.zut.subject.domain.entity.SubjectOptionAnswerBo;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface SubjectTypeHandler {
    //获取要处理的枚举类型
    SubjectTypeEnum subjectEnum();
    //对每种枚举的处理方式
    void add(SubjectInfoBo subjectInfoBo);
    //查询每种题目答案
    SubjectInfoBo querySubjectOption(Integer id);

}
